fromSchema static method

ShopSettings fromSchema(
  1. Map<String, dynamic> json
)

Implementation

static ShopSettings fromSchema(final Map<String, dynamic> json) =>
    ShopSettings(
      currency: json['currency'] as String,
      livemode: json['livemode'] as bool? ?? false,
      merchantCountryCode: json['merchantCountryCode'] as String,
      merchantDisplayName: json['merchantDisplayName'] as String,
    );