CustomFieldContextDefaultValueDateTime.fromJson constructor

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

Implementation

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