TableDataInsertAllResponseInsertErrors.fromJson constructor

TableDataInsertAllResponseInsertErrors.fromJson(
  1. Map json_
)

Implementation

TableDataInsertAllResponseInsertErrors.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => ErrorProto.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
      );