Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'reorderActiveUsernames', if (extra != null) '@extra': extra, 'usernames': usernames }; }