Settings.fromJson constructor

Settings.fromJson(
  1. Map json_
)

Implementation

Settings.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        payg: json_.containsKey('payg') ? json_['payg'] as core.bool : null,
        tenantProjectId: json_.containsKey('tenantProjectId')
            ? json_['tenantProjectId'] as core.String
            : null,
        vpcsc:
            json_.containsKey('vpcsc') ? json_['vpcsc'] as core.bool : null,
      );