Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
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 @@ -5,7 +5,7 @@ const MethodChannel _channel = MethodChannel('flutter_segment');

class SegmentMethodChannel extends SegmentPlatform {
Future<void> identify({
required userId,
String? userId,
required Map<String, dynamic> traits,
required 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 @@ -11,7 +11,7 @@ abstract class SegmentPlatform {
static SegmentPlatform instance = SegmentMethodChannel();

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