fromOrNull static method

FieldModel? fromOrNull(
  1. BaseModel? other
)

Implementation

static FieldModel? fromOrNull(
  BaseModel? other,
) {
  return fromJsonOrNull(other?.toJson())!;
}