PermissionEntity.fromMap constructor

PermissionEntity.fromMap(
  1. Map map
)

Implementation

factory PermissionEntity.fromMap(Map<dynamic, dynamic> map) {
  return PermissionEntity(
    code: map['code'].toString(),
    message: map['message'].toString(),
  );
}