Stream.fromJson constructor

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

Implementation

factory Stream.fromJson(Map<String, dynamic> json) {
  return Stream(
    fileId: json['fileId'] as int?,
    streamId: json['streamId'] as String?,
  );
}