AboutAdditionalRoleInfoRoleSets.fromJson constructor

AboutAdditionalRoleInfoRoleSets.fromJson(
  1. Map json_
)

Implementation

AboutAdditionalRoleInfoRoleSets.fromJson(core.Map json_)
    : this(
        additionalRoles: json_.containsKey('additionalRoles')
            ? (json_['additionalRoles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        primaryRole: json_.containsKey('primaryRole')
            ? json_['primaryRole'] as core.String
            : null,
      );