FreeListingsProgramStatus.fromJson constructor

FreeListingsProgramStatus.fromJson(
  1. Map json_
)

Implementation

FreeListingsProgramStatus.fromJson(core.Map json_)
    : this(
        globalState: json_.containsKey('globalState')
            ? json_['globalState'] as core.String
            : null,
        regionStatuses: json_.containsKey('regionStatuses')
            ? (json_['regionStatuses'] as core.List)
                .map((value) =>
                    FreeListingsProgramStatusRegionStatus.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );