RestMethodMediaUploadProtocols.fromJson constructor
RestMethodMediaUploadProtocols.fromJson(
- Map json_
Implementation
RestMethodMediaUploadProtocols.fromJson(core.Map json_)
: this(
resumable: json_.containsKey('resumable')
? RestMethodMediaUploadProtocolsResumable.fromJson(
json_['resumable'] as core.Map<core.String, core.dynamic>)
: null,
simple: json_.containsKey('simple')
? RestMethodMediaUploadProtocolsSimple.fromJson(
json_['simple'] as core.Map<core.String, core.dynamic>)
: null,
);