Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/segment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Segment {
static SegmentPlatform get _segment => SegmentPlatform.instance;

static Future<void> identify({
@required userId,
String userId,
Map<String, dynamic> traits,
Map<String, dynamic> options,
}) {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/segment_method_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const MethodChannel _channel = MethodChannel('flutter_segment');

class SegmentMethodChannel extends SegmentPlatform {
Future<void> identify({
@required userId,
String userId,
Map<String, dynamic> traits,
Map<String, dynamic> options,
}) async {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/segment_platform_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class SegmentPlatform {
static SegmentPlatform instance = SegmentMethodChannel();

Future<void> identify({
@required userId,
String userId,
Map<String, dynamic> traits,
Map<String, dynamic> options,
}) {
Expand Down