toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (variables != null) {
    json[r'variables'] = variables;
  }
  return json;
}