toMap method
If withId
is true, will send the id in the map
Implementation
Map<String, dynamic> toMap({bool withId = true}) {
return {
if (withId) 'Id': id,
'FullyQualifiedName': fullyQualifiedName,
'domain': domain,
'Name': name,
'SyncToken': syncToken,
'sparse': sparse,
'Active': active,
'Type': 'Category',
};
}