CreateInlineCommentModelInlineCommentProperties.fromJson constructor

CreateInlineCommentModelInlineCommentProperties.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CreateInlineCommentModelInlineCommentProperties.fromJson(
    Map<String, Object?> json) {
  return CreateInlineCommentModelInlineCommentProperties(
    textSelection: json[r'textSelection'] as String?,
    textSelectionMatchCount:
        (json[r'textSelectionMatchCount'] as num?)?.toInt(),
    textSelectionMatchIndex:
        (json[r'textSelectionMatchIndex'] as num?)?.toInt(),
  );
}