toMap method

Map<String, dynamic> toMap()

Returns a Map from the current ApiKeyModel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'name': name,
    'key': key,
    'serviceType': serviceType,
    'isDefault': isDefault,
  };
}