Skip to content

Commit

Permalink
🔧 Fix wrong typedef cousing runtime type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmannZ committed Sep 4, 2018
1 parent eb0029a commit 70a3b5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/widgets/mutation.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import 'dart:async';

import 'package:flutter/widgets.dart';
import 'package:graphql_flutter/src/client.dart';
import 'package:graphql_flutter/src/widgets/graphql_provider.dart';

typedef Future<void> RunMutation(Map<String, dynamic> variables);
typedef void RunMutation(Map<String, dynamic> variables);
typedef void OnMutationCompleted(Map<String, dynamic> data);
typedef Widget MutationBuilder(
RunMutation mutation, {
Expand Down

0 comments on commit 70a3b5a

Please sign in to comment.