Gender.fromJson constructor

Gender.fromJson(
  1. Map json_
)

Implementation

Gender.fromJson(core.Map json_)
    : this(
        addressMeAs: json_.containsKey('addressMeAs')
            ? json_['addressMeAs'] as core.String
            : null,
        formattedValue: json_.containsKey('formattedValue')
            ? json_['formattedValue'] as core.String
            : null,
        metadata: json_.containsKey('metadata')
            ? FieldMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );