Map<String, Object?> toJson() => { if (context != null) 'context': context, 'expression': expression, if (format != null) 'format': format, if (frameId != null) 'frameId': frameId, };