Skip to content

Commit

Permalink
Adds cast to committed data
Browse files Browse the repository at this point in the history
  • Loading branch information
zlshames authored Jul 22, 2021
1 parent 065ddd4 commit 8d1f5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/widgets/editable_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2978,7 +2978,7 @@ class CommittedContent {
return CommittedContent(
mimeType: data['mimeType'] as String?,
uri: data['uri'] as String?,
data: Uint8List.fromList(List<int>.from(data['data']))
data: Uint8List.fromList(List<int>.from(data['data'] as Iterable<dynamic>))
);
}

Expand Down

0 comments on commit 8d1f5c4

Please sign in to comment.