toJson method

Map<String, Object?> toJson()

Implementation

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