Topic.from constructor
Topic.from({})
Returns the new instance of Topic based on arguments.
Implementation
Topic.from({
required this.id,
required this.name,
required this.fromLanguage,
required this.learningLanguage,
});