UploadFileInfo.fromJson constructor

UploadFileInfo.fromJson(
  1. Map json_
)

Implementation

UploadFileInfo.fromJson(core.Map json_)
    : this(
        headers: json_.containsKey('headers')
            ? (json_['headers'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        signedUri: json_.containsKey('signedUri')
            ? json_['signedUri'] as core.String
            : null,
        uriExpirationTime: json_.containsKey('uriExpirationTime')
            ? json_['uriExpirationTime'] as core.String
            : null,
      );