toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'type': type,
  'is_mutated': isMutated,
  'declaration_line': declarationLine,
  if (firstMutationLine != null) 'first_mutation_line': firstMutationLine,
};