toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseTypes != null) 'baseTypes': baseTypes!,
      if (displayName != null) 'displayName': displayName!,
      if (enumValues != null) 'enumValues': enumValues!,
      if (name != null) 'name': name!,
      if (properties != null) 'properties': properties!,
    };