toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (licenses != null) 'licenses': licenses!,
      if (name != null) 'name': name!,
      if (version != null) 'version': version!,
    };