PlayerName.fromJson constructor

PlayerName.fromJson(
  1. Map json_
)

Implementation

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