Domain.fromJson constructor

Domain.fromJson(
  1. Map json_
)

Implementation

Domain.fromJson(core.Map json_)
    : this(
        domainName: json_.containsKey('domainName')
            ? json_['domainName'] as core.String
            : null,
        resourceState: json_.containsKey('resourceState')
            ? json_['resourceState'] as core.String
            : null,
        yearlyPrice: json_.containsKey('yearlyPrice')
            ? Money.fromJson(
                json_['yearlyPrice'] as core.Map<core.String, core.dynamic>)
            : null,
      );