SupportedService.fromJson constructor

SupportedService.fromJson(
  1. Map json_
)

Implementation

SupportedService.fromJson(core.Map json_)
  : this(
      availableOnRestrictedVip:
          json_['availableOnRestrictedVip'] as core.bool?,
      knownLimitations: json_['knownLimitations'] as core.bool?,
      name: json_['name'] as core.String?,
      serviceSupportStage: json_['serviceSupportStage'] as core.String?,
      supportStage: json_['supportStage'] as core.String?,
      supportedMethods:
          (json_['supportedMethods'] as core.List?)
              ?.map(
                (value) => MethodSelector.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      title: json_['title'] as core.String?,
    );