PosCustomBatchResponse.fromJson constructor

PosCustomBatchResponse.fromJson(
  1. Map json_
)

Implementation

PosCustomBatchResponse.fromJson(core.Map json_)
    : this(
        entries: json_.containsKey('entries')
            ? (json_['entries'] as core.List)
                .map((value) => PosCustomBatchResponseEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );