Mention.fromJson constructor

Mention.fromJson(
  1. Map<String, dynamic> jsonData
)

Create a Mention instance from json data

Implementation

factory Mention.fromJson(Map<String, dynamic> jsonData) {
  return Mention(
    title: jsonData['title'].toString(),
    customProperties: jsonData['customProperties'] as Map<String, dynamic>?,
  );
}