Configuration.fromJson constructor

Configuration.fromJson(
  1. Map json_
)

Implementation

Configuration.fromJson(core.Map json_)
    : this(
        companyName: json_.containsKey('companyName')
            ? json_['companyName'] as core.String
            : null,
        configurationId: json_.containsKey('configurationId')
            ? json_['configurationId'] as core.String
            : null,
        configurationName: json_.containsKey('configurationName')
            ? json_['configurationName'] as core.String
            : null,
        contactEmail: json_.containsKey('contactEmail')
            ? json_['contactEmail'] as core.String
            : null,
        contactPhone: json_.containsKey('contactPhone')
            ? json_['contactPhone'] as core.String
            : null,
        customMessage: json_.containsKey('customMessage')
            ? json_['customMessage'] as core.String
            : null,
        dpcExtras: json_.containsKey('dpcExtras')
            ? json_['dpcExtras'] as core.String
            : null,
        dpcResourcePath: json_.containsKey('dpcResourcePath')
            ? json_['dpcResourcePath'] as core.String
            : null,
        forcedResetTime: json_.containsKey('forcedResetTime')
            ? json_['forcedResetTime'] as core.String
            : null,
        isDefault: json_.containsKey('isDefault')
            ? json_['isDefault'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );