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,
      );