toEntity method

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

Implementation

@override
LinkEntity toEntity({String? appId}) {
  return LinkEntity(
    linkText: (linkText != null) ? linkText : null,
    action: (action != null) ? action!.toEntity(appId: appId) : null,
  );
}