Fragment.fromJson constructor
Implementation
factory Fragment.fromJson(Map<String, dynamic> json) {
return Fragment(
fragmentLengthInMilliseconds:
json['FragmentLengthInMilliseconds'] as int?,
fragmentNumber: json['FragmentNumber'] as String?,
fragmentSizeInBytes: json['FragmentSizeInBytes'] as int?,
producerTimestamp: timeStampFromJson(json['ProducerTimestamp']),
serverTimestamp: timeStampFromJson(json['ServerTimestamp']),
);
}