StreamFile.fromJson constructor

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

Implementation

factory StreamFile.fromJson(Map<String, dynamic> json) {
  return StreamFile(
    fileId: json['fileId'] as int?,
    s3Location: json['s3Location'] != null
        ? S3Location.fromJson(json['s3Location'] as Map<String, dynamic>)
        : null,
  );
}