toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'propertyName': propertyName,
    'inherits': inherits,
    'syntax': syntax,
    if (initialValue != null) 'initialValue': initialValue!.toJson(),
  };
}