toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (id != null) 'id': id!,
      if (sha1 != null) 'sha1': sha1!,
      if (sha256 != null) 'sha256': sha256!,
      if (url != null) 'url': url!,
    };