toEntity method

  1. @override
DocumentItemEntity toEntity({
  1. String? appId,
})
override

Implementation

@override
DocumentItemEntity toEntity({String? appId}) {
  return DocumentItemEntity(
    reference: (reference != null) ? reference : null,
    imageId: (image != null) ? image!.documentID : null,
  );
}