AccountInfo.fromMap constructor

AccountInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AccountInfo.fromMap(Map<String, dynamic> map) {
  return AccountInfo(
    accountId: map['id'],
    name: map['name'],
  );
}