CustomFieldContextDefaultValueDate.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueDate.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueDate(
    date: json[r'date'] as String?,
    type: json[r'type'] as String? ?? '',
    useCurrent: json[r'useCurrent'] as bool? ?? false,
  );
}