toJson method
Implementation
Map toJson() {
return {
'id': id,
'name': name,
'type': type,
'enabled': enabled,
'syncing': syncing,
'role_id': roleId,
'enabled_emoticons': enabledEmoticons,
'expire_behaviour': expireBehaviour,
'expire_grace_period': expireGracePeriod,
'user': user,
'account': account,
'synced_at': syncedAt,
'subscriber_count': subscriberCount,
'revoked': revoked,
'application': application,
};
}