decode static method
Implementation
static User decode(Object result) {
result as List<Object?>;
return User(
displayName: result[0]! as String,
name: result[1]! as String,
id: result[2]! as String,
icon: result[3] as String?,
);
}