convert method

T? convert(
  1. Object? value
)

Implementation

T? convert(Object? value) {
  if (convertor == null) {
    throw Exception("Cannot call QueryOptions.convert when convertor is absent");
  }

  if (value == null) return null;

  return convertor!(value as Map<String, dynamic>);
}