decode static method
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?>(),
);
}