ImportRowError.fromJson constructor

ImportRowError.fromJson(
  1. Map json_
)

Implementation

ImportRowError.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => ImportError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rowNumber: json_.containsKey('rowNumber')
            ? json_['rowNumber'] as core.int
            : null,
        vmName: json_.containsKey('vmName')
            ? json_['vmName'] as core.String
            : null,
        vmUuid: json_.containsKey('vmUuid')
            ? json_['vmUuid'] as core.String
            : null,
      );