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