toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'id': id,
  'module': module,
  if (path != null) 'path': path,
  if (owner != null) 'owner': owner,
  if (same != null) 'same': same,
  'rev': rev,
  'compileMs': compileMs,
  'sizeBytes': sizeBytes,
  'updatedAt': updatedAt,
};