Input type from JSON factory constructor.
factory InputType.fromJson(Map<String, dynamic> json) => _$InputTypeFromJson(json);