from<T> static method

DataSourceCall<T>? from<T>(
  1. Object? call
)

Implementation

static DataSourceCall<T>? from<T>(Object? call) {
  if (call is DataSourceCall) return call as DataSourceCall<T>;
  if (call is String) return DataSourceCall.parse(call);
  return null;
}