decode static method

Venue decode(
  1. Object result
)

Implementation

static Venue decode(Object result) {
  result as List<Object?>;
  return Venue(
    location: result[0] != null
        ? GeoLocation.decode(result[0]! as List<Object?>)
        : null,
    type: VenueType.values[result[1]! as int],
    significance: VenueSignificance.values[result[2]! as int],
  );
}