SComment.fromJson constructor

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

Implementation

factory SComment.fromJson(Map<String, dynamic> json) {
  return SComment(
    offset: json['offset'] as int,
    length: json['length'] as int,
    content: json['content'] as String,
    commentType: json['commentType'] as String,
  );
}