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,
      );