fromOrNull static method

DataRefModel? fromOrNull(
  1. BaseModel? other
)

Implementation

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