toEntity method
Implementation
@override
GridEntity toEntity({String? appId}) {
return GridEntity(
appId: appId,
description: (description != null) ? description : null,
bodyComponents: (bodyComponents != null)
? bodyComponents!.map((item) => item.toEntity(appId: appId)).toList()
: null,
gridViewId: (gridView != null) ? gridView!.documentID : null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}