decode static method

ResourceOptions decode(
  1. Object result
)

Implementation

static ResourceOptions decode(Object result) {
  result as List<Object?>;
  return ResourceOptions(
    accessToken: result[0]! as String,
    baseURL: result[1] as String?,
    dataPath: result[2] as String?,
    assetPath: result[3] as String?,
    tileStoreUsageMode: result[4] != null
        ? TileStoreUsageMode.values[result[4]! as int]
        : null,
  );
}