factory AlgoSha.fromMap(Map<String, dynamic> map) { return AlgoSha( type: map['type'].toString(), ); }