generateModelJson function

Future<Json> generateModelJson({
  1. required String id,
  2. required dynamic model,
})

Implementation

Future<Json> generateModelJson({
  required String id,
  required dynamic model,
}) async {
  return <String, dynamic>{
    fieldIdProperty: id,
    kModelField: model,
  };
}