ContactSettings.fromJson constructor

ContactSettings.fromJson(
  1. Map _json
)

Implementation

ContactSettings.fromJson(core.Map _json)
    : this(
        adminContact: _json.containsKey('adminContact')
            ? Contact.fromJson(
                _json['adminContact'] as core.Map<core.String, core.dynamic>)
            : null,
        privacy: _json.containsKey('privacy')
            ? _json['privacy'] as core.String
            : null,
        registrantContact: _json.containsKey('registrantContact')
            ? Contact.fromJson(_json['registrantContact']
                as core.Map<core.String, core.dynamic>)
            : null,
        technicalContact: _json.containsKey('technicalContact')
            ? Contact.fromJson(_json['technicalContact']
                as core.Map<core.String, core.dynamic>)
            : null,
      );