Segment.fromJson constructor

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

Implementation

factory Segment.fromJson(Map<String, dynamic> json) {
  return Segment(
    document: json['Document'] as String?,
    id: json['Id'] as String?,
  );
}