UrlSettings.fromJson constructor

UrlSettings.fromJson(
  1. Map json_
)

Implementation

UrlSettings.fromJson(core.Map json_)
    : this(
        cartUriTemplate: json_.containsKey('cartUriTemplate')
            ? json_['cartUriTemplate'] as core.String
            : null,
        checkoutUriTemplate: json_.containsKey('checkoutUriTemplate')
            ? json_['checkoutUriTemplate'] as core.String
            : null,
      );