decode static method

AllowCredential decode(
  1. Object result
)

Implementation

static AllowCredential decode(Object result) {
  result as List<Object?>;
  return AllowCredential(
    type: result[0]! as String,
    id: result[1]! as String,
    transports: (result[2] as List<Object?>?)!.cast<String?>(),
  );
}