toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  // ignore: unnecessary_cast
  return {
    'type': this.type,
    'instanceName': this.instanceName,
    'paramName': this.paramName,
    'isFactoryParam': this.isFactoryParam,
    'isPositional': this.isPositional,
  } as Map<String, dynamic>;
}