CustomFieldContextDefaultValueForgeMultiGroupField.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueForgeMultiGroupField.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueForgeMultiGroupField(
    contextId: json[r'contextId'] as String? ?? '',
    groupIds: (json[r'groupIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    type: json[r'type'] as String? ?? '',
  );
}