toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deprecateTime != null) 'deprecateTime': deprecateTime!,
      if (name != null) 'name': name!,
      if (obsoleteTime != null) 'obsoleteTime': obsoleteTime!,
      if (state != null) 'state': state!,
      if (supportTime != null) 'supportTime': supportTime!,
    };