Mention.fromJSON constructor

Mention.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

Mention.fromJSON(Map<String, dynamic> json)
    : userId = json['userId'],
      type = json['type'],
      startIndex = json['startIndex'],
      endIndex = json['endIndex'];