toJson method

Map<String, dynamic> toJson()

Implementation

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