manifestJson property

String get manifestJson

The immutable bundle manifest (b/<version>/manifest.json).

Implementation

String get manifestJson =>
    '${const JsonEncoder.withIndent('  ').convert({
      'schema': BundleBuilder.schema,
      'bundle_version': version,
      'format': format,
      'source_locale': sourceLocale,
      'locales': [
        for (final l in locales) {'locale': l.locale, 'file': l.file, 'sha256': l.sha256, 'keys': l.keys},
      ],
      'created_at': createdAt,
      'generator': generator,
    })}\n';