UserName.fromJson constructor

UserName.fromJson(
  1. Map json_
)

Implementation

UserName.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        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,
      );