Residence.fromJson constructor

Residence.fromJson(
  1. Map json_
)

Implementation

Residence.fromJson(core.Map json_)
    : this(
        current: json_.containsKey('current')
            ? json_['current'] as core.bool
            : 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,
      );