toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'name': name,
      'id': id,
      'uri': uri.toFilePath(),
      'nonConstant': nonConstant,
      'files': files.map((x) => x.toJson()).toList(),
    };