SegmentReference.fromJson constructor

SegmentReference.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SegmentReference.fromJson(Map<String, dynamic> json) {
  return SegmentReference(
    id: json['Id'] as String,
    version: json['Version'] as int?,
  );
}