toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (token != null) {
_json[r'token'] = token;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (updateAt != null) {
_json[r'update_at'] = updateAt;
}
if (deleteAt != null) {
_json[r'delete_at'] = deleteAt;
}
if (creatorId != null) {
_json[r'creator_id'] = creatorId;
}
if (teamId != null) {
_json[r'team_id'] = teamId;
}
if (trigger != null) {
_json[r'trigger'] = trigger;
}
if (method != null) {
_json[r'method'] = method;
}
if (username != null) {
_json[r'username'] = username;
}
if (iconUrl != null) {
_json[r'icon_url'] = iconUrl;
}
if (autoComplete != null) {
_json[r'auto_complete'] = autoComplete;
}
if (autoCompleteDesc != null) {
_json[r'auto_complete_desc'] = autoCompleteDesc;
}
if (autoCompleteHint != null) {
_json[r'auto_complete_hint'] = autoCompleteHint;
}
if (displayName != null) {
_json[r'display_name'] = displayName;
}
if (description != null) {
_json[r'description'] = description;
}
if (url != null) {
_json[r'url'] = url;
}
return _json;
}