UploadMetadata.fromMap constructor

UploadMetadata.fromMap(
  1. Map<String, dynamic> map
)

UploadMetadata.fromMap({...})

Implementation

UploadMetadata.fromMap(Map<String, dynamic> map) {
  this.url = map['url'];
  this.token = map['token'];
  this.authorization = map['authorization'];
  this.fileId = map['fileId'];
  this.cosFileId = map['cosFileId'];
}