Birthday.fromJson constructor

Birthday.fromJson(
  1. Map json_
)

Implementation

Birthday.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? Date.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        metadata: json_.containsKey('metadata')
            ? FieldMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );