PermissionSchemes.fromJson constructor

PermissionSchemes.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PermissionSchemes.fromJson(Map<String, Object?> json) {
  return PermissionSchemes(
    permissionSchemes: (json[r'permissionSchemes'] as List<Object?>?)
            ?.map((i) => PermissionScheme.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}