MentionEntity.fromJson constructor

MentionEntity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MentionEntity.fromJson(Map<String, dynamic> json) =>
    new MentionEntity(
      screenName: json["screen_name"] == null ? null : json["screen_name"],
      indices: json["indices"] == null
          ? null
          : new List<int>.from(json["indices"].map((x) => x)),
    );