fromJSON static method

RoleConfiguration fromJSON(
  1. Map<String, dynamic> data
)

Implementation

static RoleConfiguration fromJSON(Map<String, dynamic> data) {
	return RoleConfiguration(
		source: RoleConfigurationSource.fromJSON(data["source"]),
		roles: (data["roles"] as List<dynamic>).map((x0) => (x0 as String) ).toSet(),
	);
}