toMap method
Returns a Map from the current ApiKeyModel.
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
'key': key,
'serviceType': serviceType,
'isDefault': isDefault,
};
}
Returns a Map from the current ApiKeyModel.
Map<String, dynamic> toMap() {
return {
'name': name,
'key': key,
'serviceType': serviceType,
'isDefault': isDefault,
};
}