toMap method
Implementation
Map<String, dynamic> toMap() => {
'name': name,
if (creatorUserId != null) 'creator_user_id': creatorUserId,
if (expiresAt != null) 'expires_at': _toUtcIso8601(expiresAt!),
if (includeByokInLimit != null) 'include_byok_in_limit': includeByokInLimit,
if (limit != null) 'limit': limit,
if (limitReset != null) 'limit_reset': limitReset!.wireValue,
};