toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  if (name != null) 'name': name,
  if (disabled != null) 'disabled': disabled,
  if (includeByokInLimit != null) 'include_byok_in_limit': includeByokInLimit,
  if (limit != null || clearLimit) 'limit': limit,
  if (limitReset != null || clearLimitReset)
    'limit_reset': limitReset?.wireValue,
};