SasPortalOperation.fromJson constructor

SasPortalOperation.fromJson(
  1. Map _json
)

Implementation

SasPortalOperation.fromJson(core.Map _json)
    : this(
        done: _json.containsKey('done') ? _json['done'] as core.bool : null,
        error: _json.containsKey('error')
            ? SasPortalStatus.fromJson(
                _json['error'] as core.Map<core.String, core.dynamic>)
            : null,
        metadata: _json.containsKey('metadata')
            ? _json['metadata'] as core.Map<core.String, core.dynamic>
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        response: _json.containsKey('response')
            ? _json['response'] as core.Map<core.String, core.dynamic>
            : null,
      );