PosStore.fromJson constructor

PosStore.fromJson(
  1. Map json_
)

Implementation

PosStore.fromJson(core.Map json_)
    : this(
        gcidCategory: json_.containsKey('gcidCategory')
            ? (json_['gcidCategory'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        matchingStatus: json_.containsKey('matchingStatus')
            ? json_['matchingStatus'] as core.String
            : null,
        matchingStatusHint: json_.containsKey('matchingStatusHint')
            ? json_['matchingStatusHint'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        placeId: json_.containsKey('placeId')
            ? json_['placeId'] as core.String
            : null,
        storeAddress: json_.containsKey('storeAddress')
            ? json_['storeAddress'] as core.String
            : null,
        storeCode: json_.containsKey('storeCode')
            ? json_['storeCode'] as core.String
            : null,
        storeName: json_.containsKey('storeName')
            ? json_['storeName'] as core.String
            : null,
        websiteUrl: json_.containsKey('websiteUrl')
            ? json_['websiteUrl'] as core.String
            : null,
      );