decode static method Null safety
- Object result
Implementation
static CoordinateBounds decode(Object result) {
result as List<Object?>;
return CoordinateBounds(
southwest:
(result[0] as Map<Object?, Object?>?)!.cast<String?, Object?>(),
northeast:
(result[1] as Map<Object?, Object?>?)!.cast<String?, Object?>(),
infiniteBounds: result[2]! as bool,
);
}