ServiceAreaBusiness.fromJson constructor

ServiceAreaBusiness.fromJson(
  1. Map json_
)

Implementation

ServiceAreaBusiness.fromJson(core.Map json_)
    : this(
        businessType: json_.containsKey('businessType')
            ? json_['businessType'] as core.String
            : null,
        places: json_.containsKey('places')
            ? Places.fromJson(
                json_['places'] as core.Map<core.String, core.dynamic>)
            : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );