toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deleted != null) 'deleted': deleted!,
      if (deprecated != null) 'deprecated': deprecated!,
      if (obsolete != null) 'obsolete': obsolete!,
      if (replacement != null) 'replacement': replacement!,
      if (state != null) 'state': state!,
    };