generateStructureJson function
Implementation
Future<Json> generateStructureJson({
required String id,
required dynamic structure,
}) async {
return <String, dynamic>{
kStructureIdField: id,
kStructureField: await encrypt(jsonEncode(structure)),
};
}