Name.fromJson constructor

Name.fromJson(
  1. Map json_
)

Implementation

Name.fromJson(core.Map json_)
    : this(
        familyName: json_.containsKey('familyName')
            ? json_['familyName'] as core.String
            : null,
        fullName: json_.containsKey('fullName')
            ? json_['fullName'] as core.String
            : null,
        givenName: json_.containsKey('givenName')
            ? json_['givenName'] as core.String
            : null,
      );