GoogleMapsPlacesV1PlacePaymentOptions.fromJson constructor

GoogleMapsPlacesV1PlacePaymentOptions.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1PlacePaymentOptions.fromJson(core.Map json_)
    : this(
        acceptsCashOnly: json_.containsKey('acceptsCashOnly')
            ? json_['acceptsCashOnly'] as core.bool
            : null,
        acceptsCreditCards: json_.containsKey('acceptsCreditCards')
            ? json_['acceptsCreditCards'] as core.bool
            : null,
        acceptsDebitCards: json_.containsKey('acceptsDebitCards')
            ? json_['acceptsDebitCards'] as core.bool
            : null,
        acceptsNfc: json_.containsKey('acceptsNfc')
            ? json_['acceptsNfc'] as core.bool
            : null,
      );