FieldConfigurationSchemeProjects.fromJson constructor

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

Implementation

factory FieldConfigurationSchemeProjects.fromJson(Map<String, Object?> json) {
  return FieldConfigurationSchemeProjects(
    fieldConfigurationScheme: json[r'fieldConfigurationScheme'] != null
        ? FieldConfigurationScheme.fromJson(
            json[r'fieldConfigurationScheme']! as Map<String, Object?>)
        : null,
    projectIds: (json[r'projectIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}