PosDataProviders.fromJson constructor

PosDataProviders.fromJson(
  1. Map json_
)

Implementation

PosDataProviders.fromJson(core.Map json_)
    : this(
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        posDataProviders: json_.containsKey('posDataProviders')
            ? (json_['posDataProviders'] as core.List)
                .map((value) => PosDataProvidersPosDataProvider.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );