RewriteResponse.fromJson constructor
RewriteResponse.fromJson(
- Map _json
Implementation
RewriteResponse.fromJson(core.Map _json)
: this(
done: _json.containsKey('done') ? _json['done'] as core.bool : null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
objectSize: _json.containsKey('objectSize')
? _json['objectSize'] as core.String
: null,
resource: _json.containsKey('resource')
? Object.fromJson(
_json['resource'] as core.Map<core.String, core.dynamic>)
: null,
rewriteToken: _json.containsKey('rewriteToken')
? _json['rewriteToken'] as core.String
: null,
totalBytesRewritten: _json.containsKey('totalBytesRewritten')
? _json['totalBytesRewritten'] as core.String
: null,
);