CustomFieldContextDefaultValueFloat.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueFloat.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueFloat(
    number: json[r'number'] as num? ?? 0,
    type: json[r'type'] as String? ?? '',
  );
}