UploadAccountResponse.fromJson constructor

UploadAccountResponse.fromJson(
  1. Map _json
)

Implementation

UploadAccountResponse.fromJson(core.Map _json)
    : this(
        error: _json.containsKey('error')
            ? (_json['error'] as core.List)
                .map((value) => UploadAccountResponseError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
      );