GetFileOutput.fromJson constructor

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

Implementation

factory GetFileOutput.fromJson(Map<String, dynamic> json) {
  return GetFileOutput(
    blobId: json['blobId'] as String,
    commitId: json['commitId'] as String,
    fileContent: _s.decodeUint8List(json['fileContent']! as String),
    fileMode: (json['fileMode'] as String).toFileModeTypeEnum(),
    filePath: json['filePath'] as String,
    fileSize: json['fileSize'] as int,
  );
}