AccountState.fromMap constructor

AccountState.fromMap(
  1. Map map
)

Implementation

factory AccountState.fromMap(Map<dynamic, dynamic> map) {
  return AccountState(
      (map['accountStateAction'] as String)._toAccountStateAction(),
      map['success'],
      map['error']);
}